<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="../../../js/angular1.0.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body ng-app>
		<div ng-controller="firstCntl">
			<ul>
				<li ng-repeat="item in items">
					{{item.name}} is china! age is {{item.age}}.
				</li>
			</ul>
			do {{age}}
		</div>
		<script type="text/javascript">
			var firstCntl = function($scope){
				console.log($scope);
				$scope.age = 20;
				$scope.items = [
					{name:"leon",age:16},
					{name:"matin",age:18}
				];
				
			}
		</script>
	</body>
</html>
